﻿@model Web.Models.Saudo
@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div style="background-image: url('/Content/saudos.png'); background-repeat: no-repeat; padding-left: 70px; min-height: 80px; margin-top: 15px;">
    <div style="font-size: 25px; font-weight: bold;">@Model.Text</div>
    <div>@Model.Sender möchte @Model.PartitionKey einen Saudo geben und @Model.Votes Leute finden das gut.</div>
</div>

<h3>Additional Comments</h3>
@foreach (var comment in ViewBag.Comments)
{
    <p style="background-image: url(http://www.areagames.de/bilder/site/sprechblase.gif); background-repeat: no-repeat; padding-left: 20px; max-width: 400px;">@comment.Text</p>
}

<form action="/Home/Comment">
    <fieldset>
        <legend>Your own comment</legend>
        <input type="hidden" name="key" value="@Model.RowKey" />
        <label>Your Comment</label>
        <input type="text" name="text" />
        <input type="submit" value="Comment" />
    </fieldset>
</form>